﻿using System;
using System.Collections.Generic;
using Autodesk.Revit.DB;

namespace YJKRevitArea.AreaThumbnail
{
	public class FirePreventionData
	{
		public FilledRegionType FillType
		{
			get
			{
				return this.m_eleFillType;
			}
			set
			{
				this.m_eleFillType = value;
			}
		}

		public List<List<Curve>> AreaOutline
		{
			get
			{
				return this.m_lstAreaOutline;
			}
			set
			{
				this.m_lstAreaOutline = value;
			}
		}

		public string Area
		{
			get
			{
				return this.m_strArea;
			}
			set
			{
				this.m_strArea = value;
			}
		}

		public string AreaCompany
		{
			get
			{
				return this.m_strAreaCompany;
			}
			set
			{
				this.m_strAreaCompany = value;
			}
		}

		public string AreaName
		{
			get
			{
				return this.m_strAreaName;
			}
			set
			{
				this.m_strAreaName = value;
			}
		}

		public string AreaNameNum
		{
			get
			{
				return this.m_strAreaNameNum;
			}
			set
			{
				this.m_strAreaNameNum = value;
			}
		}

		public string AreaNamePrefix
		{
			get
			{
				return this.m_strAreaNamePrefix;
			}
			set
			{
				this.m_strAreaNamePrefix = value;
			}
		}

		public string GetAreaAllName()
		{
			return string.Concat(new string[]
			{
				this.AreaNamePrefix,
				" ",
				this.AreaName,
				" ",
				this.AreaNameNum
			});
		}

		public string GetAreaName()
		{
			return this.Area + " " + this.AreaCompany;
		}

		private FilledRegionType m_eleFillType;

		private List<List<Curve>> m_lstAreaOutline = new List<List<Curve>>();

		private string m_strArea = string.Empty;

		private string m_strAreaCompany = "平方米";

		private string m_strAreaName = string.Empty;

		private string m_strAreaNameNum = string.Empty;

		private string m_strAreaNamePrefix = string.Empty;
	}
}
